﻿<html>
<head>
    <title>Log on</title>
</head>
<body>
<h2>Logon</h2>
@using (Html.BeginForm("Logon", "Admin", FormMethod.Post)) { 
    <fieldset>
        <legend>Logon</legend>
        <div>
            <label for="Name">Name:</label>
            <input type="text" name="Name" />
        </div>
        <div>
            <label for="password">Password:</label>
            <input type="password" name="password" />
        </div>
        <p>
            <input type="submit" value="Logon" />
        </p>
    </fieldset>
}
</body>
</html>